﻿using System.Windows;

namespace MediaBrowser.CustomControls.CustomEvent
{
    public delegate void CurrentItemEventHandler(object sender,
        CurrentItemEventArgs e);

    public class CurrentItemEventArgs : RoutedEventArgs
    {
        #region Data
        public int Number { get; set; }
        #endregion //Data

        #region Ctor
        /// <summary>
        /// Constructs a new CurrentItemEventArgs object
        /// using the parameters provided
        /// </summary>
        /// <param name="numberOfItems">the int value</param>
        public CurrentItemEventArgs(RoutedEvent routedEvent,
            int number)
            : base(routedEvent)
        {
            this.Number = number;
        }
        #endregion //Ctor
    }
}
